package com.ruoyi.zsyh.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 费用单管理对象 zsyh_service_order_applymoney
 * 
 * @author yuexl
 * @date 2022-09-06
 */
public class ZsyhServiceOrderApplymoney extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 申请费用 */
    private String id;

    /** 订单id */
    @Excel(name = "订单id")
    private String orderId;

    private String rakerId;
    /** 维修师傅id */
    @Excel(name = "维修师傅id")
    private String repairId;

    /** 申请类型 1远程费 2旧配件回寄物流费 */
    @Excel(name = "申请类型 1远程费 2旧配件回寄物流费")
    private String applyType;

    /** 申请金额 */
    @Excel(name = "申请金额")
    private BigDecimal applyMoney;

    /** 状态 1申请中 2已通过 3已拒绝 */
    @Excel(name = "状态 1申请中 2已通过 3已拒绝")
    private String applyState;

    /** 拒绝理由 */
    @Excel(name = "申请理由")
    private String applyReason;

    private String applyRefuse;

    private String applyImages;

    //关联id apply_type=2时关联配件单id
    private String relationId;

    //申请人
    private String applyPerson;

    //申请人电话
    private String applyPhone;

    private String factoryId;

    //订单状态 001厂家保存（未下单） 0未接单（厂家下单）1已接单 101已预约 102服务中  201平台待审核 202厂家待审核 2已完成 203待拨款 3已支付 4已评价 5已取消 501师傅申请取消 6系统自动取消
    private String orderState;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setOrderId(String orderId) 
    {
        this.orderId = orderId;
    }

    public String getOrderId() 
    {
        return orderId;
    }
    public void setRepairId(String repairId) 
    {
        this.repairId = repairId;
    }

    public String getRepairId() 
    {
        return repairId;
    }
    public void setApplyType(String applyType) 
    {
        this.applyType = applyType;
    }

    public String getApplyType() 
    {
        return applyType;
    }
    public void setApplyMoney(BigDecimal applyMoney) 
    {
        this.applyMoney = applyMoney;
    }

    public BigDecimal getApplyMoney() 
    {
        return applyMoney;
    }
    public void setApplyState(String applyState) 
    {
        this.applyState = applyState;
    }

    public String getApplyState() 
    {
        return applyState;
    }
    public void setApplyReason(String applyReason) 
    {
        this.applyReason = applyReason;
    }

    public String getApplyReason() 
    {
        return applyReason;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("orderId", getOrderId())
            .append("createTime", getCreateTime())
            .append("repairId", getRepairId())
            .append("applyType", getApplyType())
            .append("applyMoney", getApplyMoney())
            .append("applyState", getApplyState())
            .append("applyReason", getApplyReason())
            .toString();
    }

    public String getApplyRefuse() {
        return applyRefuse;
    }

    public void setApplyRefuse(String applyRefuse) {
        this.applyRefuse = applyRefuse;
    }

    public String getApplyImages() {
        return applyImages;
    }

    public void setApplyImages(String applyImages) {
        this.applyImages = applyImages;
    }

    public String getRakerId() {
        return rakerId;
    }

    public void setRakerId(String rakerId) {
        this.rakerId = rakerId;
    }

    public String getRelationId() {
        return relationId;
    }

    public void setRelationId(String relationId) {
        this.relationId = relationId;
    }

    public String getApplyPerson() {
        return applyPerson;
    }

    public void setApplyPerson(String applyPerson) {
        this.applyPerson = applyPerson;
    }

    public String getApplyPhone() {
        return applyPhone;
    }

    public void setApplyPhone(String applyPhone) {
        this.applyPhone = applyPhone;
    }

    public String getFactoryId() {
        return factoryId;
    }

    public void setFactoryId(String factoryId) {
        this.factoryId = factoryId;
    }

    public String getOrderState() {
        return orderState;
    }

    public void setOrderState(String orderState) {
        this.orderState = orderState;
    }
}
